<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" >
<head>
    <head th:include="common/global :: global('角色管理','css','admin/role/getRoleList')">

</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 系统管理 <span class="c-gray en">&gt;</span> 角色管理 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="page-container">
    <div class="cl pd-5 bg-1 bk-gray"> <span class="l"> <a class="btn btn-primary radius" href="javascript:;" onclick="layer_show('添加角色','/admin/role/role','')"><i class="Hui-iconfont">&#xe600;</i> 添加角色</a> </span> </div>
    <table class="table table-border table-bordered table-hover table-bg">
        <thead>
        <tr class="text-c">
            <th width="200">角色名</th>
            <th width="70">操作</th>
        </tr>
        </thead>
        <tbody>
            <tr class="text-c" th:each="item:${roleList}">
                <td th:text="${item.roleName}"></td>
                <td class="f-14">
                    <a title="编辑" href="javascript:;"
                        th:onclick="'layer_show(\'角色编辑\',\'/admin/role/role?tid='+${item.tid}+'\',\'\')'" style="text-decoration:none">
                        <i class="Hui-iconfont">&#xe6df;</i></a>
                </td>
            </tr>
        </tbody>
    </table>
</div>
</body>
</html>